package vip.sweet.sys.modular.role.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import vip.sweet.common.entity.CommonEntity;


/**
 * @author tianlianyin
 * @Date 2024/11/11
 */
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Data
@NoArgsConstructor
@Builder
@TableName("sys_role")
@Schema(description = "角色实体类")
public class Role extends CommonEntity {
    @Schema(description = "角色名称")
    private String name;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "部门id")
    private String departmentId;
    @Schema(description = "部门名称")
    private String departmentName;
}
